package com.sj.uabrowser.mvp.settings.view.act;

import android.webkit.WebView;


import com.sj.uabrowser.R;
import com.sj.uabrowser.app.StatusBarUtil;
import com.sj.uabrowser.framework.BaseActivity;
import com.sj.uabrowser.framework.BasePresenter;

import butterknife.BindView;

public class PrivacyAct extends BaseActivity {


    @BindView(R.id.webview)
    WebView webview;

    @Override
    public BasePresenter createPresenter() {
        return null;
    }

    @Override
    public int getLayoutID() {
        return R.layout.activity_privacy;
    }

    @Override
    public void setView() {
        StatusBarUtil.setTransparentForImageView(this, null);
        StatusBarUtil.setLightMode(this);
        setTopTitle(getResources().getString(R.string.app_name)+"服务及隐私协议");
    }

    @Override
    public void setData() {
        webview.loadUrl("http://light.jinriwnl.com/xieyi/light.html");
    }
}
